﻿@model PasswordRecoveryConfirmModel
@using SpotsHub.Gateway.Models.Customer;
@{
    Layout = "~/Views/Shared/_Layout.cshtml";

    ViewBag.Title = T("PageTitle.PasswordRecovery").Text;
    // +string+
}
@section top
{
    <div class="full-width-image"><img src="~/Content/images/forgot-password.jpg" alt="Sign up today to receive one year free membership!" /></div>
}
<div class="password-recovery">
<h3 class="page-title"><span class="title-image"></span> @T("Account.PasswordRecovery")</h3>

<div class="password-recovery-content col-ms-12 col-sm-6 col-md-4">
    @if (!String.IsNullOrEmpty(Model.Result))
    {
        <div class="result">
            @Model.Result
        </div>
    }
    @if (!Model.SuccessfullyChanged)
    {
        using (Html.BeginForm())
        {
            <div class="info-input">
                <div class="form-label">@Html.LabelFor(model => model.NewPassword)@Html.RequiredHint()</div>
                @Html.PasswordFor(model => model.NewPassword, new { @class = "form-control" })


                <div class="form-label">@Html.LabelFor(model => model.ConfirmNewPassword)@Html.RequiredHint()</div>
                @Html.PasswordFor(model => model.ConfirmNewPassword, new { @class = "form-control" })
                

                <div class="clear">
                </div>
            </div>
            <div class="buttons password-submit">
                <input type="submit" name="set-password" class="btn btn-normal form-control" value="@T("Account.PasswordRecovery.ChangePasswordButton")" />
            </div>
        }
    }
</div>

</div>